home *** CD-ROM | disk | FTP | other *** search
- /* SFX ZoomLoopEnd */
-
- OPTIONS RESULTS
- ADDRESS REXX_SFX
-
- SFX_GetActiveBuffer
- buf1=RESULT
- IF buf1>-1 THEN DO
- SFX_GetLoopMode buf1
- if RESULT=1 THEN DO
- SFX_GetLength buf1
- slen=RESULT
- SFX_GetLoopEnd buf1
- le=RESULT
- zs=le-50
- IF zs<0 THEN zs=0
- zl=100
- IF (zs+zl)>=slen THEN zl=slen-zs
- SFX_SetZoomXStart buf1 zs
- SFX_SetZoomXLength buf1 zl
- END
- ELSE SFX_Message '"No loop is set !"'
- END
- ELSE SFX_Message '"No sample to operate on !"'
- SFX_Activate
- EXIT
-